home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mfs055 / mfsconf.doc < prev    next >
Text File  |  1991-12-10  |  2KB  |  47 lines

  1. This is mfsconf.c is a sample program to set up the filename translation modes
  2. for minixfs version 0.54 or above. It must be run after minixfs has loaded.
  3. Changes are global (i.e. affect all programs) and immediate. The syntax is
  4.  
  5. mfsconf pathname
  6. or
  7. mfsconf pathname -[s|d|x|l] [n|t|m|b]
  8.  
  9. 'pathname' is the path of any file/directory of a minix partition , e.g.
  10. E: in my setup. The first form (no options) prints out a summary of current
  11. translation options. The second form is used to set the options. The first
  12. letter determines the option to be set and may be 's','d','x' or 'l' .
  13. These have the following meanings :
  14.  
  15. 's' is search translation , when a filename is searched for , e.g. when it
  16. is being opened , its is translated into 8+3 tos format as well as the 
  17. actual search name. So for example FooBarFile.C becomes FOOBARFI.C which may
  18. then be accessed as anything that translated to FOOBARFI.C , e.g. FooBarFI.c
  19. FooBarFilename.C .
  20.  
  21. 'd' is the directory option , when reading a directory with Fsfirst/Fsnext or
  22. Dreaddir in 'compatability' mode the filenames get translated to tos 8+3 , 
  23. upper case format. Anything that doesn't recognise MiNT will be affected.
  24. Many GEM programs don't like the mixed case filenames e.g. the desktop and
  25. file selector , so this option should keep them happy , it is advisable
  26. to have 's' mode on too with this , since if FoobarFilename.C become appears
  27. as FOOBARFI.C then without 's' it wont be accessible as this. Dreaddir in 
  28. normal mode is *never* translated , since if a program knows about this then
  29. it should handle mixed case long filenames properly.
  30.  
  31. 'x' is auto-execute permission. If a file is created with the standard TOS
  32. executable extensions (TTP,TOS,ACC,PRG,APP,GTP) in either case then the
  33. file automatically get execute permission added. This is useful for copying
  34. files with programs that don't recognise MiNT , e.g. the desktop.
  35.  
  36. 'l' is lower case creation translation , that is files created are translated
  37. to lower case , so if FOOBAR.C is created with this option the actual file
  38. will be foobar.c .
  39.  
  40. The second letter is a 'scope' and may be 'n','t','m' or 'b' and specifies 
  41. which domain the translations will occur in . These stand for 'Neither',
  42. 'Tos domain','Mint domain' and 'Both'.
  43.  
  44. You can specify multiple options , for example :
  45.  
  46. mfsconf E: -d b -x n
  47.